import Vue from 'vue';


// 导入路由 vue-router
import VueRouter from 'vue-router';
Vue.use(VueRouter);


// 导入 vue-resource
import VueResource from 'vue-resource';
Vue.use(VueResource);

import MintUI from 'mint-ui';
import 'mint-ui/lib/style.css';


// 导入路由
import router from './router.js';


import './lib/mui/dist/css/mui.css';
// 引入购物车操作
import './lib/mui/dist/css/icons-extra.css';
import './lib/mui/dist/fonts/mui-icons-extra.ttf';


import app from './app.vue';


Vue.use(MintUI);


var vm = new Vue({
    el:'#app',
    render: c => c(app),
    router//挂在路由对象
});